package com.krain.ddbb.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by huyamin on 2016/2/27.
 */
public class UserAccountBean implements Parcelable {

    private String money;
    private int bank_id;
    private String bank_number;
    private String bank_fullname;


    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getBank_id() {
        return bank_id;
    }

    public void setBank_id(int bank_id) {
        this.bank_id = bank_id;
    }

    public String getBank_number() {
        return bank_number;
    }

    public void setBank_number(String bank_number) {
        this.bank_number = bank_number;
    }

    public String getBank_fullname() {
        return bank_fullname;
    }

    public void setBank_fullname(String bank_fullname) {
        this.bank_fullname = bank_fullname;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.money);
        dest.writeInt(this.bank_id);
        dest.writeString(this.bank_number);
        dest.writeString(this.bank_fullname);
    }

    public UserAccountBean() {
    }

    protected UserAccountBean(Parcel in) {
        this.money = in.readString();
        this.bank_id = in.readInt();
        this.bank_number = in.readString();
        this.bank_fullname = in.readString();
    }

    public static final Parcelable.Creator<UserAccountBean> CREATOR = new Parcelable.Creator<UserAccountBean>() {
        public UserAccountBean createFromParcel(Parcel source) {
            return new UserAccountBean(source);
        }

        public UserAccountBean[] newArray(int size) {
            return new UserAccountBean[size];
        }
    };
}
